﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HangYi_Coffee_Class
{
    public class User
    {
        /// <summary>
        /// 编号id
        /// </summary>
        /// <returns></returns>
        public int Id { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        /// <returns></returns>
        public string Name { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        /// <returns></returns>
        public string Phone { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        /// <returns></returns>
        public string? Password { get; set; }
        /// <summary>
        /// 角色
        /// </summary>
        /// <returns></returns>
        public string? Role { get; set; }
        /// <summary>
        /// 拥有地址
        /// </summary>
        /// <returns></returns>
        public List<Address> Addresses { get; set; } 

    }
}
